package com.taobao.api.response;

import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: tmall.nr.order.logis.info response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class TmallNrOrderLogisInfoResponse extends TaobaoResponse {

	private static final long serialVersionUID = 8648533581693916425L;

	/** 
	 * 返回结果实体
	 */
	@ApiField("result")
	private NewRetailResult result;


	public void setResult(NewRetailResult result) {
		this.result = result;
	}
	public NewRetailResult getResult( ) {
		return this.result;
	}
	
	/**
 * 实体信息
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrFetchCodeDto extends TaobaoObject {

	private static final long serialVersionUID = 5852346476836472693L;

	/**
		 * 业务标识（fncn）
		 */
		@ApiField("biz_type")
		private String bizType;
		/**
		 * 发货公司编码
		 */
		@ApiField("consign_company_code")
		private String consignCompanyCode;
		/**
		 * 发货公司名称
		 */
		@ApiField("consign_company_name")
		private String consignCompanyName;
		/**
		 * 物流cp内部的ID号
		 */
		@ApiField("cp_out_id")
		private String cpOutId;
		/**
		 * 面单号
		 */
		@ApiField("face_sheet_id")
		private String faceSheetId;
		/**
		 * 取件码
		 */
		@ApiField("fetch_code")
		private String fetchCode;
		/**
		 * 主订单号
		 */
		@ApiField("main_order_id")
		private Long mainOrderId;
		/**
		 * 打印内容
		 */
		@ApiField("printdata")
		private String printdata;
		/**
		 * 收货地址
		 */
		@ApiField("receive_addr")
		private String receiveAddr;
		/**
		 * 收货人名称
		 */
		@ApiField("receive_name")
		private String receiveName;
		/**
		 * 收货人的手机号
		 */
		@ApiField("receive_phone")
		private String receivePhone;
		/**
		 * 发货详细地址
		 */
		@ApiField("send_addr")
		private String sendAddr;
		/**
		 * 发货城市
		 */
		@ApiField("send_city")
		private String sendCity;
		/**
		 * 发货省份
		 */
		@ApiField("send_province")
		private String sendProvince;
		/**
		 * 对货码
		 */
		@ApiField("short_id")
		private Long shortId;
		/**
		 * 菜鸟生成的标签号
		 */
		@ApiField("tag_no")
		private String tagNo;
		/**
		 * 核销码
		 */
		@ApiField("write_off_code")
		private String writeOffCode;
	

	public String getBizType() {
			return this.bizType;
		}
		public void setBizType(String bizType) {
			this.bizType = bizType;
		}
		public String getConsignCompanyCode() {
			return this.consignCompanyCode;
		}
		public void setConsignCompanyCode(String consignCompanyCode) {
			this.consignCompanyCode = consignCompanyCode;
		}
		public String getConsignCompanyName() {
			return this.consignCompanyName;
		}
		public void setConsignCompanyName(String consignCompanyName) {
			this.consignCompanyName = consignCompanyName;
		}
		public String getCpOutId() {
			return this.cpOutId;
		}
		public void setCpOutId(String cpOutId) {
			this.cpOutId = cpOutId;
		}
		public String getFaceSheetId() {
			return this.faceSheetId;
		}
		public void setFaceSheetId(String faceSheetId) {
			this.faceSheetId = faceSheetId;
		}
		public String getFetchCode() {
			return this.fetchCode;
		}
		public void setFetchCode(String fetchCode) {
			this.fetchCode = fetchCode;
		}
		public Long getMainOrderId() {
			return this.mainOrderId;
		}
		public void setMainOrderId(Long mainOrderId) {
			this.mainOrderId = mainOrderId;
		}
		public String getPrintdata() {
			return this.printdata;
		}
		public void setPrintdata(String printdata) {
			this.printdata = printdata;
		}
		public String getReceiveAddr() {
			return this.receiveAddr;
		}
		public void setReceiveAddr(String receiveAddr) {
			this.receiveAddr = receiveAddr;
		}
		public String getReceiveName() {
			return this.receiveName;
		}
		public void setReceiveName(String receiveName) {
			this.receiveName = receiveName;
		}
		public String getReceivePhone() {
			return this.receivePhone;
		}
		public void setReceivePhone(String receivePhone) {
			this.receivePhone = receivePhone;
		}
		public String getSendAddr() {
			return this.sendAddr;
		}
		public void setSendAddr(String sendAddr) {
			this.sendAddr = sendAddr;
		}
		public String getSendCity() {
			return this.sendCity;
		}
		public void setSendCity(String sendCity) {
			this.sendCity = sendCity;
		}
		public String getSendProvince() {
			return this.sendProvince;
		}
		public void setSendProvince(String sendProvince) {
			this.sendProvince = sendProvince;
		}
		public Long getShortId() {
			return this.shortId;
		}
		public void setShortId(Long shortId) {
			this.shortId = shortId;
		}
		public String getTagNo() {
			return this.tagNo;
		}
		public void setTagNo(String tagNo) {
			this.tagNo = tagNo;
		}
		public String getWriteOffCode() {
			return this.writeOffCode;
		}
		public void setWriteOffCode(String writeOffCode) {
			this.writeOffCode = writeOffCode;
		}

}

	/**
 * 返回的订单错误信息映射
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Errmsg extends TaobaoObject {

	private static final long serialVersionUID = 1195533641618212261L;

	/**
		 * 订单号
		 */
		@ApiField("key")
		private Long key;
		/**
		 * 错误编码
		 */
		@ApiField("value")
		private String value;
	

	public Long getKey() {
			return this.key;
		}
		public void setKey(Long key) {
			this.key = key;
		}
		public String getValue() {
			return this.value;
		}
		public void setValue(String value) {
			this.value = value;
		}

}

	/**
 * 返回数据实体
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrFetchCodeQueryRespDto extends TaobaoObject {

	private static final long serialVersionUID = 3815789415389225887L;

	/**
		 * 返回的订单错误信息映射
		 */
		@ApiField("err_msg")
		private Errmsg errMsg;
		/**
		 * 实体信息
		 */
		@ApiListField("nr_fetch_code_d_t_o_list")
		@ApiField("nr_fetch_code_dto")
		private List<NrFetchCodeDto> nrFetchCodeDTOList;
	

	public Errmsg getErrMsg() {
			return this.errMsg;
		}
		public void setErrMsg(Errmsg errMsg) {
			this.errMsg = errMsg;
		}
		public List<NrFetchCodeDto> getNrFetchCodeDTOList() {
			return this.nrFetchCodeDTOList;
		}
		public void setNrFetchCodeDTOList(List<NrFetchCodeDto> nrFetchCodeDTOList) {
			this.nrFetchCodeDTOList = nrFetchCodeDTOList;
		}

}

	/**
 * 返回结果实体
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NewRetailResult extends TaobaoObject {

	private static final long serialVersionUID = 5838841212323828179L;

	/**
		 * 服务错误编码
		 */
		@ApiField("error_code")
		private String errorCode;
		/**
		 * 服务错误信息
		 */
		@ApiField("error_message")
		private String errorMessage;
		/**
		 * 返回数据实体
		 */
		@ApiField("result_data")
		private NrFetchCodeQueryRespDto resultData;
		/**
		 * 是否成功
		 */
		@ApiField("success_flag")
		private Boolean successFlag;
	

	public String getErrorCode() {
			return this.errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		public String getErrorMessage() {
			return this.errorMessage;
		}
		public void setErrorMessage(String errorMessage) {
			this.errorMessage = errorMessage;
		}
		public NrFetchCodeQueryRespDto getResultData() {
			return this.resultData;
		}
		public void setResultData(NrFetchCodeQueryRespDto resultData) {
			this.resultData = resultData;
		}
		public Boolean getSuccessFlag() {
			return this.successFlag;
		}
		public void setSuccessFlag(Boolean successFlag) {
			this.successFlag = successFlag;
		}

}



}
